<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>沈阳国安驾校</title>
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta charset="utf-8">
<link href="${ctx}/static/weixin/hotels.css" rel="stylesheet"
	type="text/css">
<style>
.list li a .text {
	height: 30px;
}

.list li a .text .f-left {
	float: left;
}

.list li a .text .f-right {
	float: right;
}
</style>
</head>

<body>
	<div class="footReturn" style="text-align: center">
		<input type="button" style="margin: 0 auto 20px auto; width: 90%"
			class="submit" value="查看我的预约模拟"
			onclick="window.location='${ctx}/weixin/student/examItem'">
	</div>
	<div class="cardexplain">
		<ul class="round">
			<li class="title mb"><span class="none">模拟预约帮助</span></li>
			<li>
				<div class="text">${examConfig.content}</div>
			</li>
		</ul>

		<ul class="round list">
			<li class="title mb"><span class="none">请选择你所要预约的模拟</span></li>
			<c:forEach var="exams" items="${exams}" varStatus="status">
				<li><a href="${ctx }/weixin/exam/join/${exams.id}">
						<div class="text">
							<div class="f-left">${exams.title }</div>
							<div class="f-right">
								模拟日期：
								<joda:format value="${exams.examTime}" pattern="yyyy-MM-dd" />
							</div>
						</div>
				</a></li>
			</c:forEach>
		</ul>
	</div>

</body>
</html>